export function formatDate(date) {
  return new Intl.DateTimeFormat(
    'zh-CN',
    {
      year: 'numeric',
      month: '2-digit',
      day: '2-digit',
    }
  ).format(date);
}


export function getImageUrl(imageId, size = 's') {
  return (
    'https://i.imgur.com/' + imageId + size + '.jpg'
  )
}
